[INFO] fetching crate nakamoto-p2p 0.2.1...
[INFO] checking nakamoto-p2p-0.2.1 against try#5c7108a2805ef56743d713d2789c5e802631c9e8 for pr-97739
[INFO] extracting crate nakamoto-p2p 0.2.1 into /workspace/builds/worker-7/source
[INFO] validating manifest of crates.io crate nakamoto-p2p 0.2.1 on toolchain 5c7108a2805ef56743d713d2789c5e802631c9e8
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate nakamoto-p2p 0.2.1
[INFO] finished tweaking crates.io crate nakamoto-p2p 0.2.1
[INFO] tweaked toml for crates.io crate nakamoto-p2p 0.2.1 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 4727925d6b23dd31c273ae94634b38728e30bd23036381694ba1f3f194d1ee74
[INFO] running `Command { std: "docker" "start" "-a" "4727925d6b23dd31c273ae94634b38728e30bd23036381694ba1f3f194d1ee74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "4727925d6b23dd31c273ae94634b38728e30bd23036381694ba1f3f194d1ee74", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "4727925d6b23dd31c273ae94634b38728e30bd23036381694ba1f3f194d1ee74", kill_on_drop: false }`
[INFO] [stdout] 4727925d6b23dd31c273ae94634b38728e30bd23036381694ba1f3f194d1ee74
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+5c7108a2805ef56743d713d2789c5e802631c9e8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 92ab01b5f4f79791b279e596b059c159b500a3131a591196ca53d4a8e3fa0b7e
[INFO] running `Command { std: "docker" "start" "-a" "92ab01b5f4f79791b279e596b059c159b500a3131a591196ca53d4a8e3fa0b7e", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.40
[INFO] [stderr]    Compiling unicode-ident v1.0.1
[INFO] [stderr]    Compiling quote v1.0.20
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling syn v1.0.98
[INFO] [stderr]    Compiling libc v0.2.126
[INFO] [stderr]    Compiling cc v1.0.73
[INFO] [stderr]    Compiling getrandom v0.1.16
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling maybe-uninit v2.0.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]     Checking bech32 v0.7.3
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking fastrand v1.7.0
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking bitcoin_hashes v0.9.7
[INFO] [stderr]     Checking nonempty v0.5.0
[INFO] [stderr]     Checking remove_dir_all v0.5.3
[INFO] [stderr]    Compiling crossbeam-utils v0.7.2
[INFO] [stderr]     Checking env_logger v0.7.1
[INFO] [stderr]    Compiling secp256k1-sys v0.3.0
[INFO] [stderr]     Checking tempfile v3.3.0
[INFO] [stderr]     Checking rand_core v0.5.1
[INFO] [stderr]     Checking crossbeam-channel v0.4.4
[INFO] [stderr]     Checking rand_chacha v0.2.2
[INFO] [stderr]     Checking secp256k1 v0.19.0
[INFO] [stderr]     Checking rand v0.7.3
[INFO] [stderr]     Checking bitcoin v0.25.2
[INFO] [stderr]     Checking quickcheck v0.9.2
[INFO] [stderr]    Compiling microserde-derive v0.1.13
[INFO] [stderr]    Compiling thiserror-impl v1.0.31
[INFO] [stderr]    Compiling quickcheck_macros v0.9.1
[INFO] [stderr]     Checking microserde v0.1.13
[INFO] [stderr]     Checking thiserror v1.0.31
[INFO] [stderr]     Checking nakamoto-common v0.2.0
[INFO] [stderr]     Checking nakamoto-p2p v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout]    --> src/protocol/spvmgr.rs:637:9
[INFO] [stdout]     |
[INFO] [stdout] 637 |     use nakamoto_chain::block::{cache::BlockCache, store};
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 637 |     use nakamoto_common::block::{cache::BlockCache, store};
[INFO] [stdout]     |         ~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout]    --> src/protocol/spvmgr.rs:638:9
[INFO] [stdout]     |
[INFO] [stdout] 638 |     use nakamoto_chain::filter::cache::FilterCache;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout]     |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]     |
[INFO] [stdout] 638 |     use nakamoto_common::filter::cache::FilterCache;
[INFO] [stdout]     |         ~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout]   --> src/protocol/tests.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 | use nakamoto_chain::block::cache::BlockCache;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 19 | use nakamoto_common::block::cache::BlockCache;
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout]   --> src/protocol/tests.rs:20:5
[INFO] [stdout]    |
[INFO] [stdout] 20 | use nakamoto_chain::block::store;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_chain`
[INFO] [stdout]    |
[INFO] [stdout] help: there is a crate or module with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 20 | use nakamoto_common::block::store;
[INFO] [stdout]    |     ~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `nakamoto_test`
[INFO] [stdout]   --> src/protocol/tests.rs:26:5
[INFO] [stdout]    |
[INFO] [stdout] 26 | use nakamoto_test::block::cache::model;
[INFO] [stdout]    |     ^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nakamoto_test`
[INFO] [stdout]    --> src/protocol/spvmgr.rs:641:9
[INFO] [stdout]     |
[INFO] [stdout] 641 |     use nakamoto_test::BITCOIN_HEADERS;
[INFO] [stdout]     |         ^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nakamoto_test`
[INFO] [stdout]   --> src/protocol/tests.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | use nakamoto_test::logger;
[INFO] [stdout]    |     ^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `nakamoto_test`
[INFO] [stdout]   --> src/protocol/tests.rs:28:5
[INFO] [stdout]    |
[INFO] [stdout] 28 | use nakamoto_test::BITCOIN_HEADERS;
[INFO] [stdout]    |     ^^^^^^^^^^^^^ use of undeclared crate or module `nakamoto_test`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `protocol_version` and `params` are never read
[INFO] [stdout]    --> src/protocol.rs:258:5
[INFO] [stdout]     |
[INFO] [stdout] 252 | pub struct Protocol<T, F, P> {
[INFO] [stdout]     |            -------- fields in this struct
[INFO] [stdout] ...
[INFO] [stdout] 258 |     protocol_version: u32,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 259 |     /// Consensus parameters.
[INFO] [stdout] 260 |     params: Params,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout]     = note: `Protocol` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `address`, `local_address` and `time` are never read
[INFO] [stdout]   --> src/protocol/connmgr.rs:86:5
[INFO] [stdout]    |
[INFO] [stdout] 84 | struct Peer {
[INFO] [stdout]    |        ---- fields in this struct
[INFO] [stdout] 85 |     /// Remote peer address.
[INFO] [stdout] 86 |     address: net::SocketAddr,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 87 |     /// Local peer address.
[INFO] [stdout] 88 |     local_address: net::SocketAddr,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 94 |     time: LocalTime,
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `Peer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: fields `height` and `last_active` are never read
[INFO] [stdout]    --> src/protocol/spvmgr.rs:186:5
[INFO] [stdout]     |
[INFO] [stdout] 185 | struct Peer {
[INFO] [stdout]     |        ---- fields in this struct
[INFO] [stdout] 186 |     height: Height,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^
[INFO] [stdout] 187 |     last_active: LocalTime,
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `Peer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/protocol/tests.rs:760:30
[INFO] [stdout]     |
[INFO] [stdout] 760 |                 ) if addr == &remote
[INFO] [stdout]     |                              ^^^^^^^ expected enum `std::net::SocketAddr`, found `&std::net::SocketAddr`
[INFO] [stdout]     |
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]     |
[INFO] [stdout] 760 -                 ) if addr == &remote
[INFO] [stdout] 760 +                 ) if addr == remote
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/protocol/tests.rs:775:30
[INFO] [stdout]     |
[INFO] [stdout] 775 |                 ) if addr == &remote
[INFO] [stdout]     |                              ^^^^^^^ expected enum `std::net::SocketAddr`, found `&std::net::SocketAddr`
[INFO] [stdout]     |
[INFO] [stdout] help: consider removing the borrow
[INFO] [stdout]     |
[INFO] [stdout] 775 -                 ) if addr == &remote
[INFO] [stdout] 775 +                 ) if addr == remote
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Store`
[INFO] [stdout]   --> src/protocol/tests.rs:22:46
[INFO] [stdout]    |
[INFO] [stdout] 22 | use nakamoto_common::block::store::{Genesis, Store};
[INFO] [stdout]    |                                              ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 10 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nakamoto-p2p` due to 11 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "92ab01b5f4f79791b279e596b059c159b500a3131a591196ca53d4a8e3fa0b7e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "92ab01b5f4f79791b279e596b059c159b500a3131a591196ca53d4a8e3fa0b7e", kill_on_drop: false }`
[INFO] [stdout] 92ab01b5f4f79791b279e596b059c159b500a3131a591196ca53d4a8e3fa0b7e
